package cn.gjculture.shopping.api.scheduler;

import cn.gjculture.shopping.api.service.PayService;
import lombok.extern.slf4j.Slf4j;
import org.quartz.JobExecutionContext;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.quartz.QuartzJobBean;

@Slf4j
public class SupplierTransferTask extends QuartzJobBean {

    @Autowired
    PayService payService;

    @Override
    protected void executeInternal(JobExecutionContext jobExecutionContext) {
        payService.quartzSupplierTransfer();
    }
}
